package com.design.pattern.decorator.battercake;

/**
 * @version 1.0
 * @author: CRM_SYSTEM
 * @date: 2022/10/13 22:33
 * @Description:
 */
public class BatterCakeDecorator extends BatterCake{


    private BatterCake batterCake;

    public BatterCakeDecorator(BatterCake batterCake){
        this.batterCake=batterCake;
    }

    protected String getMsg() {
        return  this.batterCake.getMsg();
    }


    protected int getPrice() {
        return  this.batterCake.getPrice();
    }
}
